import request from '@/utils/request'
//获取@我的消息
export function getAtMe(userId) {
  return request.get('/message/Atme', { params: { userId } })
}

//删除@我的消息
export function deleteAtMe(mentionId) {
  return request.delete('/message/delete', { params: { mentionId } })
}

//回复@我的消息
export function replyAtMe(data) {
  return request.post('/message/replyAtMe', data)
}

//标记@我的消息为已读
export function remarkAtMeAsRead(userId) {
  return request.post(`/message/markAtMeMessageAsRead/${userId}`)
}